package com.dmatek.uwb.xml.dom.bean;

import java.util.ArrayList;
import java.util.List;

import com.dmatek.uwb.xml.dom.annotations.AttributeName;

/***
 * 抽象的路径类
 * @author zhangfu
 * @data 2019年6月12日 下午5:40:52
 * @Description
 */
public abstract class BasePath implements DomElement{
	@AttributeName("id")
	private String id;
	@AttributeName("start")
	private Point start;
	@AttributeName("end")
	private Point end;
	@AttributeName("bindPaths")
	private List<String> bindPaths;
	public BasePath() {
		super();
		bindPaths = new ArrayList<String>();
	}
	public BasePath(Point start, Point end) {
		super();
		this.start = start;
		this.end = end;
	}
	public BasePath(String id, Point start, Point end) {
		super();
		this.id = id;
		this.start = start;
		this.end = end;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Point getStart() {
		return start;
	}
	public void setStart(Point start) {
		this.start = start;
	}
	public Point getEnd() {
		return end;
	}
	public void setEnd(Point end) {
		this.end = end;
	}
	public List<String> getBindPaths() {
		return bindPaths;
	}
	public void setBindPaths(List<String> bindPaths) {
		this.bindPaths = bindPaths;
	}
	@Override
	public String toString() {
		return "BasePath [id=" + id + ", start=" + start + ", end=" + end + "]";
	}
}
